package com.weirong.smartvault.dao;

import com.weirong.smartvault.entity.DeliveryDetailLog;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * 于2017/11/30由 KFEB4 创建 .
 */
public interface DeliveryDetailLogRepository extends JpaRepository<DeliveryDetailLog,Integer>{
    List<DeliveryDetailLog> findAllByDeliveryId(Integer id);

    List<DeliveryDetailLog> findAllByDeliveryIdInAndTypeCode(List<Integer> deliveryLogIds,String typeCode);
}
